<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <script type="text/javascript">
   var name= "王彦红";
   function f1(){
     return name;
   }
   function f2(){
     var age =21;
     var time = "2014-9-5";
     return name+"  "+age+"  "+time;
   }
   function f3(){
     var sushehao = "2号楼";
     var fangjianhao = "2#312";
     var jirenjian = "4人间"
     return sushehao+"  "+fangjianhao+"  "+jirenjian;
   }
   console.log("学生信息:");
   console.log(f2());
   console.log("住宿信息:");
   console.log(f3());
   </script>
  </body>
</html>
